/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xypdf.service;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.core.pojo.page.PageResult;
import vip.xiaonuo.modular.xypdf.entity.XyPdf;
import vip.xiaonuo.modular.xypdf.form.PdfLogyGenderForm;
import vip.xiaonuo.modular.xypdf.param.XyPdfParam;
import java.util.List;

/**
 * 谱书service接口
 *
 * @author yanwei
 * @date 2023-05-05 15:44:28
 */
public interface XyPdfService extends IService<XyPdf> {

    /**
     * 查询谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
    PageResult<XyPdf> page(XyPdfParam xyPdfParam);

    /**
     * 谱书列表
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
    List<XyPdf> list(XyPdfParam xyPdfParam);

    /**
     * 添加谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
    void add(XyPdfParam xyPdfParam);

    /**
     * 删除谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
    void delete(List<XyPdfParam> xyPdfParamList);

    /**
     * 编辑谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
    void edit(XyPdfParam xyPdfParam);

    /**
     * 查看谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
     XyPdf detail(XyPdfParam xyPdfParam);

    /**
     * 导出谱书
     *
     * @author yanwei
     * @date 2023-05-05 15:44:28
     */
     void export(XyPdfParam xyPdfParam);

    String genderPdfByLogyId(PdfLogyGenderForm pdfLogyGenderForm);

    JSONObject pdfOpenLineChildList(String logyId);
}
